import Request from "../utils/axios"

export function login(data){
  return Request({
    url:"/m/login",
    method:"post",
    data
  })
}
export function register(data){
  return Request({
    url:"/m/register",
    method:"post",
    data
  })
}
export function rmsgcode(data){
  return Request({
    url:"/m/rmsgcode",
    method:"get",
    params:data
  })
}
export function sysconfig(data){//获取网站配置
  return Request({
    url:"/m/sysconfig",
    method:"post",
    data
  })
}

export function activityList(data){//活动列表
  return Request({
    url:"/m/activity_list",
    method:"get",
    data
  })
}

export function getinfo(data){//个人信息
  return Request({
    url:"/m/userinfo",
    method:"post",
    data
  })
}

export function getsysconfig(data){//获取网站配置
  return Request({
    url:"/m/sysconfig",
    method:"post",
    data
  })
}
export function reset_login_password(data){ 
  return Request({
    url:"/m/reset_login_password",
    method:"post",
    data
  })
}


export function recharge_record(data){ 
  return Request({
    url:"/m/recharge_record",
    method:"get",
    params:data
  })
}

export function profit_loss(data){ 
  return Request({
    url:"/m/profit_loss",
    method:"post",
    data
  })
}

export function member_api_list(data){ 
  return Request({
    url:"/m/member_api_list",
    method:"post",
    data
  })
}

export function game_record(data){ 
  return Request({
    url:"/m/game_record",
    method:"get",
    params:data
  })
}
export function send_fs(data){ 
  return Request({
    url:"/m/send_fs",
    method:"post",
    data
  })
}
export function send_fsjl(data){ 
  return Request({
    url:"/m/fsjl",
    method:"get",
    data
  })
}
export function send_fsjlpost(data){ 
  return Request({
    url:"/m/fsjl",
    method:"post",
    data
  })
}
export function getsystemnotice(data){//获取系统公告
  return Request({
    url:"/m/systemnotice",
    method:"get",
    data
  })
}
export function getactivitylist(data){//获取活动列表
  return Request({
    url:"/m/activity_list",
    method:"get",
    data
  })
}
export function getactivitycontent(data){//获取活动详情
  return Request({
    url:"/m/activity_content",
    method:"get",
    params:data
  })
}
export function getsystemnoticecontent(data){//获取活动详情
  return Request({
    url:"/m/systemnotice_content",
    method:"get",
    params:data
  })
}
export function banklist(data){//银行卡列表
  return Request({
    url:"/m/banklist",
    method:"get",
    params:data
  })
}
export function setBankApi(data){//绑定银行卡
  return Request({
    url:"/m/setBank",
    method:"post",
    data
  })
}
export function getBankApi(data){//绑定银行卡
  return Request({
    url:"/m/getBank",
    method:"post",
    data
  })
}
export function drawing(data){//提现
  return Request({
    url:"/m/drawing",
    method:"post",
    params:data
  })
}
export function getbanks(data){//提现
  return Request({
    url:"/m/banks",
    method:"get",
    data
  })
}
export function pay_usdt(data){//提现
  return Request({
    url:"/m/pay_usdt",
    method:"post",
    data
  })
}
export function recharge_config(data){//提现
  return Request({
    url:"/m/recharge_config",
    method:"get",
    data
  })
}
export function recharge_drawing_record(data){//提现
  return Request({
    url:"/m/drawing_record",
    method:"get",
    data
  })
}
export function recharge_api_list(data){//提现
  return Request({
    url:"/m/api_list",
    method:"post",
    data
  })
}
export function recharge_user_fsjl(data){//红利记录
  return Request({
    url:"/m/user_fsjl",
    method:"get",
    data
  })
}
export function recharge_showdoc(data){//红利记录
  return Request({
    url:"/m/showdoc",
    method:"post",
    data
  })
}
export function fund_transfer(data){//红利记录
  return Request({
    url:"/m/game/fund_transfer_out_all",
    method:"get",
    data
  })
}
export function getgamelist(data){//游戏列表
  return Request({
    url:"/m/game/get_game_list",
    method:"get",
    params:data
  })
}
export function gettixianactivity(data){//游戏列表
  return Request({
    url:"/m/pay_activity",
    method:"get",
    params:data
  })
}
export function loginouts(data){//游戏列表
  return Request({
    url:"/m/logout",
    method:"get",
    params:data
  })
}
export function user_rgydjl(data){// 
  return Request({
    url:"/m/user_rgydjl",
    method:"get",
    params:data
  })
}
export function user_hljl(data){// 
  return Request({
    url:"/m/user_hljl",
    method:"get",
    params:data
  })
}
export function user_gamelogin(data){// 
  return Request({
    url:"/m/game/login",
    method:"get",
    params:data
  })
}
export function zhuanpan(data){// 
  return Request({
    url:"/m/zhuanpan",
    method:"get",
    params:data
  })
}
export function ajax_zhuan(data){// 
  return Request({
    url:"/m/zhuan",
    method:"get",
    params:data
  })
}
export function ajax_zhuanpan_record(data){// 
  return Request({
    url:"/m/zhuanpan_record",
    method:"get",
    params:data
  })
}
export function ajax_zhuanpan_get(data){//
  return Request({
    url:"/m/zhuanpan_get",
    method:"get",
    params:data
  })
}
export function ajax_zhuanpanlist(data){// 
  return Request({
    url:"/m/zhuanpan_list",
    method:"get",
    params:data
  })
}
export function invitefriend(data){//红利记录
  return Request({
    url:"/m/user_daili",
    method:"post",
    data
  })
}